//
//  PersonDetailViewController.m
//  17-HomeWorkContact
//
//  Created by dllo on 16/8/6.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "PersonDetailViewController.h"

@interface PersonDetailViewController ()

@end

@implementation PersonDetailViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
    
    _personImageView.image =[UIImage imageNamed:_person.imageName];
    _name.text = [NSString stringWithFormat:@"姓名：%@",_person.name];
    _phoneNumber.text = [NSString stringWithFormat:@"联系电话:%@",_person.phoneNumber];
    _address.text = [NSString stringWithFormat:@"地址：%@",_person.address];
}
- (void) viewDidAppear:(BOOL)animated {

}
- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
